package com.fcai.microserv.jwt;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Retention(RUNTIME)
@Target({TYPE, METHOD})
public @interface FcaiSecurityChecker {

    @AliasFor("check")
    boolean value() default true;

    @AliasFor("value")
    boolean check() default true;
}
